import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Mint from 'mint-ui';
import 'mint-ui/lib/style.css'
import './common/css/reset.css'
import fastclick from 'fastclick'; //引入鼠标延迟300毫秒
fastclick.attach(document.body); // 页面中所有div没有300毫秒点击延迟
import "./common/css/iconfont.css"
import "./common/css/iconfont"
// import "./common/css/demo.css"


Vue.use(Mint);
// 按需引入部分组件
import { TabContainer, TabContainerItem, Header, Swipe, SwipeItem, IndexList, IndexSection, Search, Button, Loadmore } from 'mint-ui';
Vue.component(IndexList.name, IndexList);
Vue.component(IndexSection.name, IndexSection);
Vue.component(TabContainer.name, TabContainer);
Vue.component(TabContainerItem.name, TabContainerItem);
Vue.component(Header.name, Header);
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);
Vue.component(Search.name, Search);
Vue.component(Button.name, Button);
Vue.component(Loadmore.name, Loadmore);

Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')